#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author:MrG
"""
用户账户相关功能：注册、短信、登录、注销
"""
from django.http import HttpResponse
from django.shortcuts import render

from web.forms.account import RegisterModeForm


def register(request):
    """
    注册
    :param request:
    :return:
    """
    form = RegisterModeForm()
    return render(request, 'register.html', {'form': form})


def send_sms(request):
    """
    发送短信
    :param request:
    :return:
    """
    print(request.GET)
    return HttpResponse('成功')
